deployment of environments wasn't working because of a wrong path to bash script
several code fixes were applied