Fixed start script detection