made script more cross-platform, added workflow image