added script for gun