refactoring startup / killer scripts