Rewrite Logon script to add some custom stuff