fix rewrite logic when mod_rewrite is disabled
small changes and additions in exists functions
move installer styles