add startup script and make main() focused when opening exe