added 'npm start' support
fix: turn end was not determined correctly according to the docs