initial commit
global script
global script
bug fixes