Minor changes to previous scripts.
Made shell script to do various php joins, cuts, etc.
Added filter_by_tags.php.