Added printstatements in do_sem_functions and permissions in system.conf