Making it work on linux
Fixing rewrites file
Skipping templates folder to avoid duplicate class errors