set attributes for cfg location in deploy hooks