Parse parameters and resources