Fixed permissions and build errors. Works perfect now