Switched order of app and lib deploy so libs deploy first