used cat instead of php for template build (durr!!!)