Added option to change object ID passed. Fixed issue with anchor redirection