gui modifications for script