Although its Caspian Sea ports and rail lines carrying oil have been upgraded , civil aviation has been neglected .