Motor configuration

Hi guys I am pretty new to this environment and have at question that might my have a easy answer . Here we go, see both picture attached and let me know what the real difference is - one has all motors pointing up and the other Motor 5 is pointing sideways .The picture with all motors pointing up is from video see below

Do I need to modify the code to achieve what is on the video

I just what to build a simple sub like that and any help will be deeply appreciated .