added in a error if you have not given a package name.