added option to specify branch or version number to point to