Separated out script into a bsh file