transformed run.sh into init.d runscript