Bug fix #2 and added argument proj_dir