removed usage of init.d scripts, fixed default variables