CoffeeScripterized the if/and statement because I dont think it worked