add some code to work well with laszlo and svn