Refactored some project specific tasks and settings in php template