Added scanProject function