Completed basics of script