Fixing startup from CMD