Added backwards compatibility to old motor initilization