use the correct parameter for instance type
create run with source and user at the same time
minor changes

    · return nil instead of false
    · wait for connected
    · use underscore yarddog_agent because that already exists in the
    image
remove debug output