fixed a bug that would prevent the script from continuing after each step, if the script is located in the pwd