Added a chmod call in the CLI example. Also added './' where needed.