main script renamed