set startup dir in environment