clean files and change a production settings by thin