changed composer script hook