added ability to make package from single file