[BUGFIX] Check to make sure script directory exists before copying over sql script