Added OS specific scripts and support for a custom script