Use executing script path instead of working directory.
Running this script should detect whether in a portable or system environment and install the requirements.