complete script execution