adding composer support to samples