Include replacing of production files (#5)

This should solve our problems with distinction between dev and production paths in INIT.
Please review and test extensively but for me it worked fine.