Now works with /bin/sh
Screen resolution is calculated from screenshot resolution + 2 * offset
Flush cache before each start to prevent "reload page" error in Intel map