Add script and use direction