moved script to custom file