Use environment variables to build default project
Revise initialization error handling