Need to seperate out the scripts