Added gitignore to uploads folder
Empty cache on deploy
Better env recognition