Fixed some bugs and stopped putting installation in wordpress dir