add file containing misc php functions