added spring to resolve variable from command line