Base Layout created. Script not working for lat long