Fixing syntax/logic error in Origin devenv script