gun direction and config scripts