adds logging for scripts size