404 500 pages added.changes to settings so that debug is on only in the non-amazon machine. favicon added