Changed package manifest file to check if its valid