Issue-19: Simplify scripting [loadprofiles]