bugfix for maintenance scripts have no user rights