main program frame created. script loading implemented