Tried that and it does not work. If i run the command ./rc.local thescripts run and produce the correct results.