Removing useless root files and separate environment of application