bugfixes in script
rename script