Removed broken permissions code and changed "stock" to "weight"