fixed sed issue for mac, updated htaccess, more views and stuff