move script to others file