fixes scripts
fixes script
removes debug expressions