fixing private method error and leaving a comment for running custom commands inside container