added start script
refactoring