Moved jmx function to prevent ps1 rewrite