fixed bug with adding postscripts