fix permissions, add multiple pages
add general options (included sort options)