Add pre- and postcommands to project.