Fixed bug in start scripts