scms - added check for users (root should not be able to run script)