Updating permissions on pacakge and fixing variable.