Fix partial_script for new tile size