ensuring a var has a value. adding simple console log of errors
moving amazon vars to environmental config