Hi Esteban, your script looks solid for defining custom map dimensions! One quick fix: you’re manually setting Lon_Max=-60, but then recalculating it using mapproject — instead, set an initial Lat_Max, then compute Lon_Max dynamically to fit your desired width and height using -Wn instead of -Wx. Also, be sure to check the output of mapproject is captured correctly (e.g., using $(…) with correct quoting) to avoid parsing issues.