setting config up for phonegap