Added a parent script to detect the OS and run the appropriate embedd script