Modified makeStartupScript to make it more standard by using "date" instead of "now"