Ground work for conditionals, changing scripts