Removed debugging code
Only touch the db if an affix exists
Renamed fragment template
Fixed uri. Added "new"