seperating out detect step from build step to allow dokku some more freedom when using plugins