adds @date() function
adds path upgrades & for-loop meta vars