updated ps1 scripts and gui