Added compass and script support