modified for composer installation