compiles from one folder to another