Seems like I've been using the wrong resources all this time... It works well now.