finish list.php (not tested)

This should now generate lists when it is provided with options (NOT
TESTED)