Finish basic script construction