Add Main script for windows service