Removing hardcoded values and getting them from IMS information