Updatd mysql file to also create direcotry