corrected user issue in scripts