changed library and htaccess