Simple cross-platform service script framework