make main script