Added sudo to composer script -- otherwise it will not work on an ec2 machine.