changed mode of script