Rebuilt bullet scripting to a more flexible one (hopefully)