Added prefix from commandline for rpl startup script.
Removed sleep from main. Seems to be problems with it.