Extract annotation_build method
Extract script_path method
Extract method to resolve format and input file
Merge branch 'updated' into gb_master