Replaced launchconfigs.py to replace return -1 to return None