readded debug print statement for system call