allow symlinking to shell scripts

patch for SPARK-3482