created sample script for servo