move script to an entry_point