Prepare scripts for snap CI