Bug 969937: Implement gear script deploy method