Hardcoded directory name was causing problems