fixed bug in change_suffix()
fixed self-rep of ScriptWrapper, added asiter function, added addprefix function
updated resource scripts