Updated funcstions.pgp