Changes require_dir to require_directory