some improvements

* add options to configure the location of requirements.txt
* add option to use staging config if exists