Added a script to combine functionality of the two