Updated the startup script so multiple runs of start work properly

Change-Id: I3fead8d2795f05648cc796fd6bb714b8267034d9