Combine code imports into one button