repaired calling script as a user