Fix for bug when script goes past the end of a file (thanks to Till Harbaum)
Fix for bug when script goes past the end of a file (thanks to Till Harbaum)

MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki,arurke/contiki,arurke/contiki,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,bluerover/6lbr,arurke/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,MohamedSeliem/contiki,bluerover/6lbr,arurke/contiki