Modified document to continue adding conditionals to my script