Updateing code to the latest version and adding the htaccess file