Remove sudo check to work on ec2