May be you should pass the startup file if you keep track for it (like VS does)? If not, this is OK...