compile shapes scripts