split script to different files