Removed file requires and site directory from api settings