changed way of defining executable scripts