port startup_info from D1 gh #210

tried to port startup_info from D1 as implied in GH#210. 

Please check if that is what you want!