added the ability to specify a custom package source & some minor fixes