added few required features

actually i found an alternate solution to my problem which works, so i
better focus on it than to focus on this plugin. i can come back to this
after at.