fixed multi-line pgms; added src file support